package org.footballmanager.pandafootball.system.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.footballmanager.pandafootball.system.domain.enums.ZDZW;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Transient;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 战队对应关系表
 */
@Entity
@Setter
@Getter
@ToString
public class FootSociatyInfo extends BaseEntity implements Serializable {
    @Column(name = "user_id")
    @NotNull
    private Long userId;
    @Transient
    private String userName;
    @Column(name = "zd_id")
    @NotNull
    private Long zdId;
    @Transient
    private String zdName;
    @Column(name = "honor")
    private Long honor = 0L;
    @Column(name = "relation")
    @NotNull
    private ZDZW relation;
    @Column(name = "agree")
    private Boolean agree;

}